package org.batatasframework.support.database.sql.spi;

import org.batatasframework.support.database.TableInfo;
import org.batatasframework.support.database.sql.TableInstance;
import org.batatasframework.support.database.sql.TableRuntimeJoin;

public interface JoinTableCriterion {
	
	TableRuntimeJoin join(String name) throws Exception;
	
	TableRuntimeJoin join(TableInfo tableInfo) throws Exception;

	TableRuntimeJoin join(TableInstance table, String name) throws Exception;
	
	TableRuntimeJoin join(TableInstance table, TableInfo tableInfo) throws Exception;
}
